﻿using CommunityToolkit.Mvvm.ComponentModel;
using CommunityToolkit.Mvvm.Input;
using TotalApplication.Core;
using TotalApplication.views.Video;

namespace TotalApplication.viewmodels.Video
{
	public partial class MainVideoVM : BaseViewModel
	{
		[ObservableProperty]
		private VideoMain _videoMain;

		#region Constructor

		/// <summary>
		/// Default constructor
		/// </summary>
		public MainVideoVM(VideoMain videoMain)
		{
			VideoMain = videoMain;
        }

		#endregion

		#region Commands

		[RelayCommand]
		private void OpenTags()
		{
            VideoTags videoTags = new VideoTags();
			videoTags.Show();
        }

		#endregion
	}
}
